package com.mt.system.entity;

import java.io.Serializable;
import java.util.List;

public class MenuEntity implements Serializable {
    /**
     *
     */
    private static final long serialVersionUID = -5907547030270917811L;

    private Integer menuId;

    private Integer parentMenuId;

    private String menuName;

    private String url;

    private String key;

    private String code;

    private Integer sortOrder;

    private Integer isNav;

    private List<MenuEntity> childMenuList;

    public Integer getMenuId() {
        return menuId;
    }

    public void setMenuId(Integer menuId) {
        this.menuId = menuId;
    }

    public Integer getParentMenuId() {
        return parentMenuId;
    }

    public void setParentMenuId(Integer parentMenuId) {
        this.parentMenuId = parentMenuId;
    }

    public String getMenuName() {
        return menuName;
    }

    public void setMenuName(String menuName) {
        this.menuName = menuName == null ? null : menuName.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public Integer getSortOrder() {
        return sortOrder;
    }

    public void setSortOrder(Integer sortOrder) {
        this.sortOrder = sortOrder;
    }

    public Integer getIsNav() {
        return isNav;
    }

    public void setIsNav(Integer isNav) {
        this.isNav = isNav;
    }

    public List<MenuEntity> getChildMenuList() {
        return childMenuList;
    }

    public void setChildMenuList(List<MenuEntity> childMenuList) {
        this.childMenuList = childMenuList;
    }

}